package ru.cybertek.dao;

import java.util.List;

import ru.cybertek.domain.Account;

public interface AccountDao 
{
	/**
	 * Get account data by id.
	 * 
	 * @param id - account id in db
	 * @return
	 */
	public Account getAccount(Integer id);
	
	/**
	 * Delete account by id.
	 * 
	 * @param id - account id in db
	 */
	public void deleteAccount(Integer id);
	
	/**
	 * Get all accounts from db
	 * 
	 * @return List<Account> - list of accounts
	 */
	public List<Account> getAccountList();
	
	/**
	 * Save/modify account data in db.
	 * 
	 * @param account - account to save/modify
	 */
	public void saveAccount(Account account);
	
	
}
